Add a missing va_end() call. Pointed out by Jiwon Lee.
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 31 Dec 2008 04:15:57 +0000 (04:15 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 31 Dec 2008 04:15:57 +0000 (04:15 +0000)
        * gtk/gtktreestore.c (gtk_tree_store_new): Add a missing
        va_end() call. Pointed out by Jiwon Lee.

svn path=/trunk/; revision=22021

ChangeLog
gtk/gtktreestore.c

index 69cfa28bbdb3b8abdaa9dd5bb89608e22583ae85..56acab7dc4d305bd2141450847c1c2e27610879a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-12-30  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 565846 – "va_end(args);" should be added into gtk_tree_store_new
+
+       * gtk/gtktreestore.c (gtk_tree_store_new): Add a missing
+       va_end() call. Pointed out by Jiwon Lee.
+
 2008-12-30  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkentry.c: Code cleanups; get rid of get_text_area_size,
index daf9e1a8d8c9072e46c06ca22fe035e72c17235d..9a522df632cf0df7875336c10b5ea25009bd36fa 100644 (file)
@@ -276,6 +276,7 @@ gtk_tree_store_new (gint n_columns,
        {
          g_warning ("%s: Invalid type %s\n", G_STRLOC, g_type_name (type));
          g_object_unref (retval);
+          va_end (args);
          return NULL;
        }
       gtk_tree_store_set_column_type (retval, i, type);